package org.example.api.statistics;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.example.framework.model.response.ObjectResult;

/**
 * @Author: wwy
 * @Date: 2020/11/10 14:14
 */
@Api(value="统计",description = "统计")
public interface StatisticsControllerApi {
    /**
     * 作者书籍数量统计
     * @return
     */
    @ApiOperation("作者书籍数量统计")
    ObjectResult authorBookNumSort();

    /**
     * 出版社书籍数量统计
     * @return
     */
    @ApiOperation("出版社书籍数量统计")
    ObjectResult publisherBookNumSort();

    /**
     * 每年出版书籍数量
     * @return
     */
    @ApiOperation("每年出版书籍数量")
    ObjectResult publisherYearBookNum();

    /**
     * 作者评分平均数
     * @return
     */
    @ApiOperation("作者评分平均数")
    ObjectResult authorRatingScoreSortBookNum();

    /**
     * 价格范围
     * @return
     */
    @ApiOperation("价格范围")
    ObjectResult priceScope();
}
